﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="View.aspx.cs" Inherits="License_View" StyleSheetTheme="Theme1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>View Licenses</title>
    <link href="../Style/jquery.ui.datepicker.css" rel="stylesheet" type="text/css" />
    <link href="../Style/style.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.8.2.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="../Scripts/popup.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="Label1" runat="server" Text="License Details"></asp:Label>
    
    </div>
                    <asp:GridView ID="gvLicense"
                    GridLines="None"
  AllowPaging="True"
  CssClass="staffGrid"
  PagerStyle-CssClass="pgr"
  AlternatingRowStyle-CssClass="alt"
  runat="server" EnableSortingAndPagingCallbacks="True" 
        onrowediting="gvLicense_RowEditing" onselectedindexchanged="gvLicense_SelectedIndexChanged1" 
 >
  <AlternatingRowStyle CssClass="alt" />
                        <Columns>
                            <asp:HyperLinkField DataNavigateUrlFields="License ID" 
                                DataNavigateUrlFormatString="edit.aspx?id={0} " Text="Edit" />
                        </Columns>
  <PagerStyle CssClass="pgr" />
                 

    </asp:GridView>
                    <asp:Button ID="Button1" runat="server" 
        onclick="Button1_Click1" Text="Add License" />

    <br />
    <asp:Label ID="Label2" runat="server" Text="Expired Licenses"></asp:Label>

    <asp:GridView ID="exView" runat="server"
    GridLines="None"
  AllowPaging="True"
  CssClass="staffGrid"
  PagerStyle-CssClass="pgr"
  AlternatingRowStyle-CssClass="alt"
   EnableSortingAndPagingCallbacks="True">
    </asp:GridView>

    </form>
</body>
</html>
